using System;
using System.Configuration;

namespace AntEater.ComponentModel.Configuration
{
    /// <summary>
    /// Provides the settings for the AntEater application
    /// </summary>
    public class AntEaterSection : ConfigurationSection
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="AntEaterSection"/> class.
        /// </summary>
        public AntEaterSection() {
        }

        /// <summary>
        /// Gets the runtime services section.
        /// </summary>
        /// <value>The runtime services section.</value>
        [ConfigurationProperty("runtimeServices")]
        public RuntimeServiceElementCollection RuntimeServices {
            get { return (RuntimeServiceElementCollection)this["runtimeServices"]; }
        }

        /// <summary>
        /// Gets the presenters section.
        /// </summary>
        /// <value>The presenters section.</value>
        [ConfigurationProperty("presenters")]
        public PresenterElementCollection Presenters {
            get { return (PresenterElementCollection)this["presenters"]; }
        }
    }
}
